home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er Special 11
/
64er_Magazin_Sonderheft_11_86-11_1986_Markt__Technik_de_Side_A.d64
/
programm nr. 1
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
440b
|
26 lines
100 rem *** programm nr.1 ***
110 :
120 ifz=0thenz=1:load"grafik modul",8,1
130 cls=938:plot=820
140 :
150 x0=160:y0=100 :rem mittelpunkt
160 xr=90 :yr=80 :rem x & y-radius
170 :
180 poke53265,59:poke53272,24:print"[147]"
190 sys cls
200 :
210 fora=0to90step.5
220 b=a*(NULL)/180
230 x=cos(b)*xr:y=sin(b)*yr
240 sys plot,x0+x,y0+y
250 sys plot,x0+x,y0-y
260 sys plot,x0-x,y0+y
270 sys plot,x0-x,y0-y
280 nexta
290 :
300 poke198,0:wait198,1:geta$
310 :
320 poke53265,27:poke53272,21
330 end
340 :